{% extends 'layout.html.twig' %}

{% block title %}{{ setting('article.name')|default('article'|trans) }} - {{ parent() }}{% endblock %}

{% set bodyClass = 'artcile-list-page' %}
{% do script(['app/js/article/list/index.js']) %}

{% block content %}

  <div class="es-tabs article-list-header">
    <div class="tab-header">
      {% include 'article/part/list-header-nav.html.twig' %}
    </div>
  </div>

  <!-- 资讯头部 -->
  {% include 'article/part/list-header.html.twig' %}

  <div class="article-list-body row">
    <!-- list主内容-->
    <div class="col-md-8 article-list-main">
      {% include 'article/part/list-main.html.twig' with {articles:latestArticles} %}
    </div>

    <aside class="col-md-4 article-sidebar">
      {% include 'article/widget/sidebar.html.twig' %}
    </aside>
  </div>


{% endblock %}
